<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            height: 100%;
            margin: 0;
        }
        
        div {
            width: 1px;
            height: 1px;
            margin: 300px auto;
            position: relative;
            animation: tiaodong .8s linear infinite;
        }
        
        div::before,
        div::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 120px;
            background-color: red;
            border-radius: 50px 50px 0 0;
        }
        
        div::after {
            left: 28px;
            transform: rotate(45deg);
        }
        
        div::before {
            transform: rotate(-45deg);
            box-shadow: -5px -5px 10px grey;
        }
        
        @keyframes tiaodong {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }
    </style>
</head>

<body>
    <div></div>
</body>

</html>